$OpenBSD: patch-kexi_CMakeLists_txt,v 1.2 2015/07/03 15:43:12 zhuk Exp $
Upstream bug?
--- kexi/CMakeLists.txt.orig	Wed Apr  1 15:27:01 2015
+++ kexi/CMakeLists.txt	Mon Apr 27 00:31:55 2015
@@ -49,7 +49,7 @@ set (PQXX_MAX_VERSION "5.0.0")
 macro_optional_find_package(CalligraPostgreSQL)
 macro_log_feature(POSTGRESQL_FOUND "libpq" "C application programmer's interface to PostgreSQL" "http://www.postgresql.org" FALSE "" "Required by Kexi PostgreSQL driver")
 
-pkg_check_modules (PQXX libpqxx)
+macro_optional_find_package (Pqxx)
 
 if (POSTGRESQL_FOUND AND PQXX_FOUND)
    if (PQXX_VERSION VERSION_GREATER PQXX_MIN_VERSION AND PQXX_VERSION VERSION_LESS PQXX_MAX_VERSION)
